# main.py
from building import Building
from simulation import Simulation

def main():
    building = Building(num_floors=6)
    if not building.is_fully_connected():
        print("建筑结构不连通，请检查布局设计。")
        return
    simulation = Simulation(building)
    simulation.run()

if __name__ == "__main__":
    main()
